
import request from "@/config/request";
export const informationPublish = (data) => {
  return request({
    url: '/classLeader/notice',
    method: 'POST',
    data,
  });
};


export const uploadTimetable = (formData) => {
  return request({
    url: '/classLeader/uploadTimetable', // 后端接口地址
    method: 'post',
    data: formData,
    // 重要：设置请求头，处理文件上传
    headers: {
      'Content-Type': 'multipart/form-data'
    }
  });
};



export const getClassmateEvaluations  = (params) => {
  return request({
    url: '/classLeader/classmateevaluation',
    method: 'GET',
    params: {
      ...params,
    }
  });
};
